package org.snail.attendence.bean;

import org.snail.excel.annotation.ExampleEventUserModel;

import java.util.List;

public class Test {

    public static void main(String[] args) throws Exception {
        ExampleEventUserModel example = new ExampleEventUserModel();
        String str = "钉钉Max";
        String filename = "D:\\work\\paper\\kaoqin\\"+str+".xlsx ";
        System.out.println("-- 程序开始 --");
        long time_1 = System.currentTimeMillis();
        List<AliWorkDTO> resultList  = example.processOneSheet(filename, "1", 5, AliWorkDTO.class);
        System.out.println(resultList);

        long time_2 = System.currentTimeMillis();
        System.out.println("-- 程序结束 --");
        System.out.println("-- 耗时 --"+(time_2 - time_1)+"ms");
    }

}
